package org.lavemylogic.friendsfinder.controller;

/**
 * @author Nj
 *
 */

import org.lavemylogic.friendsfinder.MapActivity;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;

/**
 * @author Nj
 *
 */
public class GoogleMapController {

	public static void setMarker(LatLng latLng) throws Exception {
		MapActivity.getMap().addMarker(new MarkerOptions().position(latLng).title("j"));
		MapActivity.getMap().moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15));
	}
	
}

